package com.shenbianyun.bosskgpay.entity.sign;

/**
 * @Author yvan
 * @Date 2021/11/3 10:50:07
 * @Description //自由职业者签约 实体类
 **/
public class UserSignReqModel {


    public UserSignReqModel(String name
            , String cardNo
            , String mobile
            , int signType
            , int paymentType
            , int providerId
            , String idCard) {
        this.name = name;
        this.cardNo = cardNo;
        this.idCard = idCard;
        this.mobile = mobile;
        this.signType = signType;
        this.paymentType = paymentType;
        this.providerId = providerId;

    }



    //姓名
    private String name;

    //银行卡号/支付宝账号（手机号或邮箱）/微信openid
    private String cardNo;

    //身份证号 （年龄限制一般为18-65）
    private String idCard;

    //银行预留手机号（四要素会校验手机号真实性、其他目前只校验格式（^(1[2,3,4,5,6,7,8,9][0-9])\d{8}$）
    private String mobile;

    //签约类型 0：接口签约
    private int signType;

    //签约付款类型 0：银行卡，1：支付宝，2：微信
    private int paymentType;

    //服务商ID（联系运营获取）
    private int providerId;

    //身份证正面（人像），Byte数据转16进制，生成String （图片不要过大<1M）
    private String idCardPic1;

    //身份证反面（国徽），Byte数据转16进制，生成String（图片不要过大<1M）
    private String idCardPic2;

    //透传参数，在配置回调地址后，系统会将此参数回传给接口调用方
    private String otherParam;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCardNo() {
        return cardNo;
    }

    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getSignType() {
        return signType;
    }

    public void setSignType(int signType) {
        this.signType = signType;
    }

    public int getPaymentType() {
        return paymentType;
    }

    public void setPaymentType(int paymentType) {
        this.paymentType = paymentType;
    }


    public int getProviderId() {
        return providerId;
    }

    public void setProviderId(int providerId) {
        this.providerId = providerId;
    }

    public String getIdCardPic1() {
        return idCardPic1;
    }

    public void setIdCardPic1(String idCardPic1) {
        this.idCardPic1 = idCardPic1;
    }

    public String getIdCardPic2() {
        return idCardPic2;
    }

    public void setIdCardPic2(String idCardPic2) {
        this.idCardPic2 = idCardPic2;
    }

    public String getOtherParam() {
        return otherParam;
    }

    public void setOtherParam(String otherParam) {
        this.otherParam = otherParam;
    }

    @Override
    public String toString() {
        return "ProfessionalSignReqModel{" +
                "name='" + name + '\'' +
                ", cardNo='" + cardNo + '\'' +
                ", idCard='" + idCard + '\'' +
                ", mobile='" + mobile + '\'' +
                ", signType=" + signType +
                ", paymentType=" + paymentType +
                ", providerId=" + providerId +
                ", idCardPic1='" + idCardPic1 + '\'' +
                ", idCardPic2='" + idCardPic2 + '\'' +
                ", otherParam='" + otherParam + '\'' +
                '}';
    }
}
